package com.example.comment_oa.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @TableName identify
 */
@TableName(value ="identify")
@Data
public class Identify implements Serializable {
    /**
     * 发票辨伪记录Id
     */
    @TableId(type = IdType.AUTO)
    private Integer identifyId;

    /**
     * 发票号码
     */
    private String invoicePhone;

    /**
     * 辨别时间
     */
    @JsonFormat(pattern ="yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date identifyTime;

    /**
     * 辨别人员工姓名
     */
    private String identifyEmpname;

    /**
     * 辨别人员工ID
     */
    private Integer identifyEmpid;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}